package com.alex.service;

import com.alex.pojo.Book;
import com.alex.pojo.User;

import java.util.List;

public interface UserService {

    User getById(int id);

    List<User> getAll();

    User getByName(String name);

    boolean nameIsExist(String name);
}
